<%@ page import="java.util.ArrayList,models.*,com.opensymphony.xwork2.ActionContext"  %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Home Page</title>

<meta name="keywords" content="Basic look and feel" />

<meta name="description" content="this is the base template html and css" />

<link href="style.css" rel="stylesheet" type="text/css" />

</head>

<body>

<div id="header_wrapper">

<div id="header">

<div id="site_title_section">

<div id="site_title">
	          Issue Suite
            </div>
      
<div id="salogon">
	            The Issue Tracker </div>
            
<div class="cleaner">&nbsp;</div>
        
</div>
            
<div id="login_section" align="right" class="text_font">
            
<s:form action="logout.action" method="post">
    <table align="right">
<tr></tr><tr></tr>
<tr></tr><tr></tr>
<tr></tr><tr></tr>
<tr></tr><tr></tr>
<tr></tr><tr></tr><tr></tr>
<tr>
<s:if test="%{#session.loggedin == 'null'}">

</s:if>
<s:else>
<s:if test="%{#session.loggedin == 'admin' }">  
  <td >You are logged in as Admin </td><td></td><td></td><td></td><td></td><td></td>
  


 </s:if>  
<s:else>

<td >You are logged in as <s:property value="%{#session.Developer.uname}" /></td><td>!!</td> <td></td><td></td><td></td><td></td><td></td>

</s:else>
</s:else>

<td>
<div><s:submit name = "commandButton" value="Logout" 
          align="center" theme="simple" id="mylogin"  /></div>
</td>
<td></td>
</tr>
</table>
</s:form>
     
</div>    
    
</div> <!-- end of header -->
</div>
<!-- end of header wrapper -->


<div id="banner_wrapper">
    
<div id="banner">
    
        
<div id="banner_header_01">Welcome to Issue Suite</div>
        
<div id="banner_header_02">Make your software close to Perfection</div>
        
<div id="banner_text">
            
<p>You feel a strong need in the universal management tools that will help optimize your and your team's work in a couple of clicks? An issue tracking tool will be easy and pleasant to deal with. Then Issue Suite is exactly you need. Issue Suite is a user-friendly issue tracking system.</p>
            
<div class="rc_btn_01"><a href="<s:url value="/aboutUsPostLogin.jsp" />">Continue reading...</a></div>
        
</div>
    
</div>	
<!-- end of banner -->

</div> 
<!-- end of banner wrapper -->



<div id="menu_wrapper">    
    
<div id="menu">
        
<ul>
            
<li><a href="<s:url value="/postLogin.jsp" />" target="_parent"><span></span>Home</a></li>
            

<li><a href="<s:url value="/aboutUsPostLogin.jsp" />"><span></span>About Us</a></li>

<li><a href="#" class="current"><span></span>Profile</a></li>
                       
<li><a href="<s:url action="search_issue.action"  />"><span></span>Search Ticket</a></li>


        
</ul>    	
    
</div> 
<!-- end of menu -->
</div> 
<!-- end of menu wrapper -->


<div id="content_wrapper">

<div id="content" align="center" class="text_font">
<fieldset class="boxBody">

<%@ page import="java.util.ArrayList,models.*,com.opensymphony.xwork2.ActionContext"  %>

<s:if test="%{#session == null}">
</s:if>
<s:else>
<s:if test="%{#session.loggedin == 'Developer'}">
<h3 align = "left"><s:label theme="simple">User Name :</s:label></h3>
<h3 align = "right"><s:property value="%{#session.Developer.uname}" /></h3>

<h3 align = "left">	<s:label theme="simple">Developer Id :</s:label></h3>
<h3 align = "right">	<s:property value="%{#session.Developer.developer_id}" /></h3>

<h3 align = "left">	<s:label theme="simple">Developer Name :</s:label></h3>
<h3 align = "right">	<s:property value="%{#session.Developer.developername}" /></h3>
	

<h3 align = "left">	<s:label>Developer Email ID :</s:label></h3>
<h3 align = "right">	<s:property value="%{#session.Developer.email}" /></h3>
	

<h3 align = "left">	<s:label>Developer Designation :</s:label></h3>
<h3 align = "right">	<s:property value="%{#session.Developer.dev_design}" /></h3>
	

<h3 align = "left">	<s:label>Project ID :</s:label></h3>
<h3 align = "right">	<s:property value="%{#session.Developer.project_id}" /></h3>
	<br/>
</s:if>
<s:else>
<h3 align = "center">	<s:label>Logged in as admin</s:label></h3>
</s:else>

</s:else>

</fieldset>
</div>
<!-- end of content -->

</div> 
<!-- end of content wrapper -->


<div id="footer_wrapper">        
    
<div id="footer">
        
</div>
<!-- end of footer -->

</div>
<!-- end of footer wrapper -->

</body>

</html>

